package com.dykj.fireFighting.server.monitoringCenter.service.impl;


import com.dykj.fireFighting.api.monitoringCenter.entity.InstructionRecord;
import com.dykj.fireFighting.api.monitoringCenter.service.InstructionRecordService;
import com.dykj.fireFighting.common.core.service.impl.BaseServiceImpl;
import com.dykj.fireFighting.server.monitoringCenter.mapper.InstructionRecordMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 指令执行记录
 *
 * @Author aixiaolan
 * @Date  2021-07-06 14:34:27
 */
@Slf4j
@DubboService
@Transactional(rollbackFor = Exception.class)
public class InstructionRecordServiceImpl extends BaseServiceImpl<InstructionRecordMapper, InstructionRecord> implements InstructionRecordService {
    @Override
     public List<String > getUserByUnitId(String unitId){
        return baseMapper.getUserByUnitId(unitId);
    }

}


